Parallel random-access machine